package com.pm.common;

import com.alibaba.fastjson2.JSONObject;
import com.pm.common.core.domain.AjaxResult;
import com.pm.common.core.domain.entity.Attachment;
import com.pm.project.domain.ProjectModifyRecord;
import com.pm.project.domain.vo.ProjectListVO;

import java.io.IOException;
import java.util.List;

public interface OAService {
    AjaxResult signLoginToEkp(String oaNo);

    AjaxResult addFileProcess(String projectNodeMemberId, String remark, List<Attachment> attachmentForms,int type);

    void projectFileProcessBackStatus(JSONObject jsonObject);

    List queryPRDList(JSONObject param);

    AjaxResult queryPRDUserList();

    AjaxResult sendTodo(JSONObject obj);

    String queryUserIdByUserNo(String jobNumber);

    void projectFileMoreBackStatus(JSONObject jsonObject) throws IOException;

    void projectFileMoreEndBackStatus(JSONObject jsonObject);

    AjaxResult signLoginToEkpUrl(String url);

    void projectStageReview(JSONObject jsonObject);

    void projectModifyProcessStatus(JSONObject jsonObject);

    void checkProjectDone(ProjectListVO projectListVO);

    String queryProcessStatus(String oaId);


    AjaxResult createWaitTaskNotice(String redirect,List<JSONObject> toUsers,String subject);
}
